<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>transition 过渡动画</title>
		<style>
			div {
				width: 100px;
				height: 100px;
				background-color: #ff194e;
				border-width: 2px;
				border-style: solid;
				border-color: #5daf34;
				/* transition-property: width, height, background-color, border-width, border-color;
			      transition-duration: 2s;
			      transition-timing-function: ease-in;
			      transition-delay: 500ms; */

				/*简写*/
				/* transition: all 2s ease-in 2s; */

				/* 全部 */
				transition: width 2s ease-in 0.2s, height 2s ease-in 0.2s, background-color 2s ease-in 2s, border-width 2s ease-in 2s, border-color 2s ease-in 2s;
				/* -webkit-transition: width 2s ease-in 0.2s, height 2s ease-in 0.2s, background-color 2s ease-in 2s, border-width 2s ease-in 2s, border-color 2s ease-in 2s, */
			}

			div:hover {
				width: 200px;
				height: 200px;
				background-color: #5daf34;
				border-width: 10px;
				border-color: #e61a5b;
			}
		</style>
	</head>
	<body>
		<div>transition 过渡动画</div>
	</body>
</html>
